package org.huatek.anders.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author anders
 * @since 2018/11/19 21:00
 */
@Controller
public class PageController {

    @GetMapping("/")
    public ModelAndView toIndex(){
        return new ModelAndView("index");
    }
}
